package main

import (
	"fmt"
	"runtime"
)

func getMaxProcess() int {
	return runtime.GOMAXPROCS(0)
}

func main() {
	fmt.Printf("GOMAXPROCS:%d\n", getMaxProcess())
	fmt.Println(runtime.GOARCH)
	fmt.Println(runtime.GOOS)
	fmt.Println(runtime.GOROOT())
	fmt.Println(runtime.Version())
	fmt.Println(runtime.NumGoroutine())
}
